package com.mpsc.current.service.impl;


import com.mpsc.api.bean.RoleInfoEntity;
import com.mpsc.current.dao.RoleInfoDao;
import com.mpsc.current.service.RoleInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleInfoServiceImpl implements RoleInfoService {

    @Autowired
    private RoleInfoDao roleInfoDao;

    @Override
    public void saveRoleInfo(RoleInfoEntity role) {
        System.out.println("--------------保存角色之前------------");
        roleInfoDao.saveRoleInfo(role);
        System.out.println("-------------保存角色之后-------------");
    }
}
